package com.kmxd.ams.client.archive;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kmxd.ams.client.archive.dto.ArchiveRuleAttachmentAddDTO;
import com.kmxd.ams.client.archive.dto.ArchiveRuleAttachmentEditDTO;
import com.kmxd.ams.client.archive.dto.ArchiveRuleAttachmentQueryDTO;
import com.kmxd.ams.client.archive.vo.ArchiveRuleAttachmentListVO;
import com.kmxd.ams.client.archive.vo.ArchiveRuleAttachmentVO;
import com.kmxd.ams.infra.archive.entity.ArchiveRuleAttachment;
import java.util.List;

/**
 * 附件匹配管理 服务类
 *
 * @author nickbi
 * @since 2022-07-30
 */
public interface IArchiveRuleAttachmentSvc extends IService<ArchiveRuleAttachment> {

  /**
   * 分页查询
   *
   * @param reqPage
   * @param req
   * @return
   */
  Page<ArchiveRuleAttachmentListVO> selectPage(Page reqPage, ArchiveRuleAttachmentQueryDTO req);

  /**
   * 查询列表
   *
   * @param req
   * @return
   */
  List<ArchiveRuleAttachmentListVO> selectList(ArchiveRuleAttachmentQueryDTO req);

  /**
   * 新增
   *
   * @param req
   */
  void add(ArchiveRuleAttachmentAddDTO req);

  /**
   * 修改
   *
   * @param req
   */
  void edit(ArchiveRuleAttachmentEditDTO req);

  /**
   * 删除
   *
   * @param ids
   */
  void remove(String ids);

  /**
   * 查看
   *
   * @param id
   * @return
   */
  ArchiveRuleAttachmentVO view(Long id);
}
